<template>
    <div style="width:100%;height: 100%">
      <!--教师请假列表-->
      <template v-if="$store.getters.permissions ==='2'">
        <draggable-list-teacher></draggable-list-teacher>
      </template>
      <template v-if="$store.getters.permissions ==='0'">
        <draggable-list-manager></draggable-list-manager>
      </template>
      <template v-if="$store.getters.permissions==='1'">
        <student-leave-list></student-leave-list>
      </template>

    </div>
</template>
<script>
  import draggableListTeacher from "./draggableListTeacher";
  import DraggableListManager from "./draggableListManager";
  import StudentLeaveList from './StudentLeaveList'
  export default {
    name: 'index',
    components:{DraggableListManager, draggableListTeacher,StudentLeaveList}
  }
</script>

<style scoped>

</style>
